package com.vijay.exam;


import java.math.BigDecimal;

/**
 * Paper entity. @author MyEclipse Persistence Tools
 */

public class Paper implements java.io.Serializable {

	// Fields

	private BigDecimal pid;
	private Ques ques;
	private String paperdesc;
	private BigDecimal pno;

	// Constructors

	/** default constructor */
	public Paper() {
	}

	/** minimal constructor */
	public Paper(BigDecimal pid, BigDecimal pno) {
		this.pid = pid;
		this.pno = pno;
	}

	/** full constructor */
	public Paper(BigDecimal pid, Ques ques, String paperdesc, BigDecimal pno) {
		this.pid = pid;
		this.ques = ques;
		this.paperdesc = paperdesc;
		this.pno = pno;
	}

	// Property accessors

	public BigDecimal getPid() {
		return this.pid;
	}

	public void setPid(BigDecimal pid) {
		this.pid = pid;
	}

	public Ques getQues() {
		return this.ques;
	}

	public void setQues(Ques ques) {
		this.ques = ques;
	}

	public String getPaperdesc() {
		return this.paperdesc;
	}

	public void setPaperdesc(String paperdesc) {
		this.paperdesc = paperdesc;
	}

	public BigDecimal getPno() {
		return this.pno;
	}

	public void setPno(BigDecimal pno) {
		this.pno = pno;
	}

}